package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/11/12.
 */

public class HomeTabBean implements Serializable {


    /**
     * msg : success
     * code : 0
     * list : [{"id":1,"name":"推荐","status":1,"weight":5,"createTime":null},{"id":3,"name":"不文明","status":1,"weight":3,"createTime":null},{"id":2,"name":"正能量","status":1,"weight":2,"createTime":null},{"id":4,"name":"求助","status":1,"weight":0,"createTime":null}]
     */

    private String msg;
    private int code;
    private List<ListBean> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * id : 1
         * name : 推荐
         * status : 1
         * weight : 5
         * createTime : null
         */

        private int id;
        private String name;
        private int status;
        private int weight;
        private String image;
        private boolean isSelected;
        private Object createTime;

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }
    }
}
